home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / idccom12.zip / EXTERN1.BAT < prev    next >
DOS Batch File  |  1990-06-25  |  411b  |  19 lines

  1. echo off
  2. cls
  3. rem  Note that all arguments passed from IDCCOM are in  ASCII text
  4. rem %1 = BPS (300/1200/2400/4800/9600/19200)
  5. rem %2 = COMPORT (1-4)
  6. rem %3 = S or R (send or receive)
  7. rem %4 = download path
  8. rem %5-%9 = wildcard filename(s) to send or receive
  9.  
  10. IF %3==S GOTO SEND
  11.  
  12. rem else receive
  13. \gt\dsz port %2 speed %1 rz %4
  14. GOTO DONE
  15.  
  16. :SEND
  17. \gt\dsz port %2 speed %1 sz %5 %6 %7 %8 %9
  18. :DONE
  19.